package com.nbst.model.mes;

import java.util.Date;

import com.nbst.model.base.OrderBy;

/**
 * 
 * @ClassName: ToolLeanReturned
 * @Description:工装夹具借还表
 * @author King
 * @date 2019年11月4日
 *
 */
public class ToolLeanReturned extends OrderBy{
	/** 出库表id */
	private Integer id;

	/** 出库表分录id */
	private Integer fEntryId;

	/** 借出数量 */
	private Double fOutQty;

	/** 归还数量 */
	private Double fInQty;

	/** 状态 状态 0借出申请 1已借出 2部分归还 3全部归还 */
	private Integer fStatus;

	/** 申请日期 */
	private Date fDate;

	/** 审核日期 */
	private Date fCheckDate;

	/** 归还时间 */
	private Date fReturnDate;

	/** 关闭状态 */
	private Integer fClosed;

	/** 工装夹具id */
	private Integer fToolId;

	/** 名称 */
	private String fName;

	/** 代码 */
	private String fNumber;

	/** 规格型号 */
	private String fModel;

	/** 仓库id */
	private Integer fStockId;

	/** 借出人 */
	private String fLeanerId;

	/** 借出人 */
	private String fLeaner;

	/** 归还人 */
	private String fReturner;

	/** 归还人 */
	private String fReturnId;
	
	/**部门id*/
	private Integer fDepId;
	
	/**单位id*/
	private Integer fUnitId;
	
	/**本次归还数*/
	private Double flInQty;
	
	/**仓库名称*/
	private String fStockName;

	public Double getfOutQty() {
		return fOutQty;
	}

	public void setfOutQty(Double fOutQty) {
		this.fOutQty = fOutQty;
	}

	public Double getfInQty() {
		return fInQty;
	}

	public void setfInQty(Double fInQty) {
		this.fInQty = fInQty;
	}

	public Integer getfStatus() {
		return fStatus;
	}

	public void setfStatus(Integer fStatus) {
		this.fStatus = fStatus;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Date getfCheckDate() {
		return fCheckDate;
	}

	public void setfCheckDate(Date fCheckDate) {
		this.fCheckDate = fCheckDate;
	}

	public Date getfReturnDate() {
		return fReturnDate;
	}

	public void setfReturnDate(Date fReturnDate) {
		this.fReturnDate = fReturnDate;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public String getfLeanerId() {
		return fLeanerId;
	}

	public void setfLeanerId(String fLeanerId) {
		this.fLeanerId = fLeanerId == null ? null : fLeanerId.trim();
	}

	public String getfLeaner() {
		return fLeaner;
	}

	public void setfLeaner(String fLeaner) {
		this.fLeaner = fLeaner == null ? null : fLeaner.trim();
	}

	public String getfReturner() {
		return fReturner;
	}

	public void setfReturner(String fReturner) {
		this.fReturner = fReturner == null ? null : fReturner.trim();
	}

	public String getfReturnId() {
		return fReturnId;
	}

	public void setfReturnId(String fReturnId) {
		this.fReturnId = fReturnId == null ? null : fReturnId.trim();
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getfEntryId() {
		return fEntryId;
	}

	public void setfEntryId(Integer fEntryId) {
		this.fEntryId = fEntryId;
	}

	public Integer getfToolId() {
		return fToolId;
	}

	public void setfToolId(Integer fToolId) {
		this.fToolId = fToolId;
	}

	public Integer getfStockId() {
		return fStockId;
	}

	public void setfStockId(Integer fStockId) {
		this.fStockId = fStockId;
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber;
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName;
	}

	public Integer getfDepId() {
		return fDepId;
	}

	public void setfDepId(Integer fDepId) {
		this.fDepId = fDepId;
	}

	public Integer getfUnitId() {
		return fUnitId;
	}

	public void setfUnitId(Integer fUnitId) {
		this.fUnitId = fUnitId;
	}

	public Double getFlInQty() {
		return flInQty;
	}

	public void setFlInQty(Double flInQty) {
		this.flInQty = flInQty;
	}

	public String getfStockName() {
		return fStockName;
	}

	public void setfStockName(String fStockName) {
		this.fStockName = fStockName;
	}

	@Override
	public String toString() {
		return "ToolLeanReturned [id=" + id + ", fEntryId=" + fEntryId + ", fOutQty=" + fOutQty + ", fInQty=" + fInQty
				+ ", fStatus=" + fStatus + ", fDate=" + fDate + ", fCheckDate=" + fCheckDate + ", fReturnDate="
				+ fReturnDate + ", fClosed=" + fClosed + ", fToolId=" + fToolId + ", fName=" + fName + ", fNumber="
				+ fNumber + ", fModel=" + fModel + ", fStockId=" + fStockId + ", fLeanerId=" + fLeanerId + ", fLeaner="
				+ fLeaner + ", fReturner=" + fReturner + ", fReturnId=" + fReturnId + ", fDepId=" + fDepId
				+ ", fUnitId=" + fUnitId + ", flInQty=" + flInQty + ", fStockName=" + fStockName + "]";
	}
}